package com.hznu.stmanage.service;

import com.hznu.stmanage.entity.Student;

/**
 * Created by J_Vino on 16/3/6.
 */
public interface StudentService {

    int deleteByPrimaryKey(Long id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    /**
     * 根据学号查找学生
     * @param ID
     * @return
     */
    Student findByID(String ID);
}
